package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PS_SCHEDULE_LOT")
@ApiModel(value="PsScheduleLot对象", description="")
public class PsScheduleLot implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "客户")
    private String brand;

    @ApiModelProperty(value = "订单数量")
    private BigDecimal orderQty;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "交期")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "结束标志位")
    private String schFlag;

    @JsonIgnore
    @ApiModelProperty(value = "用户ID")
    private String userId;

    @JsonIgnore
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "已排数量")
    private BigDecimal schQty;

    @ApiModelProperty(value = "完工数量")
    private BigDecimal inQty;

    private String lastStyle;

    private String soleInfo;

    private LocalDateTime lockDate;

    private String modelCode;

    private String sizeType;

    private String autoOrder;

    private String preLine;

    private BigDecimal preSeq;

    @ApiModelProperty(value = "配套库存")
    private BigDecimal matchStock;

    @ApiModelProperty(value = "针车欠数")
    private BigDecimal stitchUnin;

    @ApiModelProperty(value = "大底欠数")
    private BigDecimal soleUnin;

    @ApiModelProperty(value = "成型欠数")
    private BigDecimal lastUnin;

    @ApiModelProperty(value = "针车库存")
    private BigDecimal stitchStock;

    @ApiModelProperty(value = "大底库存")
    private BigDecimal soleStock;

    @ApiModelProperty(value = "待排数量")
    private BigDecimal unSchQty;

    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @ApiModelProperty(value = "历史生产线别")
    private String oldProdLine;


}
